import { createWebHashHistory, createRouter } from 'vue-router';
import Login from '../views/Login.vue';
import Result from '../views/Result.vue';

const routes = [
    {
        path: '/',
        redirect: '/login'
    },
    {
        name: 'Login',
        path: '/login',
        component: Login
    },
    {
        name: 'Result',
        path: '/result',
        component: Result
    }
]

const router = createRouter({
    routes,
    history: createWebHashHistory()
});

export default router;